/*
 * XML Type:  GetMimeTransactionRequest
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.GetMimeTransactionRequest
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML GetMimeTransactionRequest(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class GetMimeTransactionRequestImpl extends net.ofx.types.x2003.x04.impl.AbstractTransactionRequestImpl implements net.ofx.types.x2003.x04.GetMimeTransactionRequest
{
    
    public GetMimeTransactionRequestImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETMIMERQ$0 = 
        new javax.xml.namespace.QName("", "GETMIMERQ");
    
    
    /**
     * Gets the "GETMIMERQ" element
     */
    public net.ofx.types.x2003.x04.GetMimeRequest getGETMIMERQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GetMimeRequest target = null;
            target = (net.ofx.types.x2003.x04.GetMimeRequest)get_store().find_element_user(GETMIMERQ$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GETMIMERQ" element
     */
    public void setGETMIMERQ(net.ofx.types.x2003.x04.GetMimeRequest getmimerq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GetMimeRequest target = null;
            target = (net.ofx.types.x2003.x04.GetMimeRequest)get_store().find_element_user(GETMIMERQ$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GetMimeRequest)get_store().add_element_user(GETMIMERQ$0);
            }
            target.set(getmimerq);
        }
    }
    
    /**
     * Appends and returns a new empty "GETMIMERQ" element
     */
    public net.ofx.types.x2003.x04.GetMimeRequest addNewGETMIMERQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GetMimeRequest target = null;
            target = (net.ofx.types.x2003.x04.GetMimeRequest)get_store().add_element_user(GETMIMERQ$0);
            return target;
        }
    }
}
